package com.dobbinsoft.iotechn.ability.enums;

/**
 * Created by rize on 2019/2/13.
 */
public enum DeviceOpenApiResultType {
    SUCCESS(0, "成功"),
    EXCEPTION(1, "异常"),
    API_NOT_EXIST(2, "API不存在")
    ;

    DeviceOpenApiResultType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;

    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }


}
